package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author WeiZiDong
 */
@Table(name = "`sys_quartz_job`")
@Data
@ApiModel("")
public class SysQuartzJob implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "Id", example = "String")
    private String id;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`del_flag`")
    @ApiModelProperty(value = "删除状态", example = "1")
    private Integer delFlag;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "修改人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "修改时间", example = "2019-05-05 17:55:31")
    private Date updateTime;
    @Column(name = "`job_class_name`")
    @ApiModelProperty(value = "任务类名", example = "String")
    private String jobClassName;
    @Column(name = "`cron_expression`")
    @ApiModelProperty(value = "cron表达式", example = "String")
    private String cronExpression;
    @Column(name = "`parameter`")
    @ApiModelProperty(value = "参数", example = "String")
    private String parameter;
    @Column(name = "`description`")
    @ApiModelProperty(value = "描述", example = "String")
    private String description;
    @Column(name = "`status`")
    @ApiModelProperty(value = "状态0正常-1停止", example = "1")
    private Integer status;

    private static final long serialVersionUID = 1L;
}
